{extend name="public/base" /}
{block name="title"}意见反馈列表{/block}

{block name="content"}
<h2 class="sub-header">意见反馈列表 <small class="badge"><?php echo $list->total(); ?> 条</small></h2>

<form name="listarc"><div class="table-responsive"><table class="table table-hover">
<thead><tr class="info">
<th>ID</th>
<th>标题</th>
<th>手机</th>
<th>内容</th>
<th>时间</th>
<th>管理</th>
</tr></thead>
<tbody>
<?php if($list){foreach($list as $row){ ?><tr>
<td><?php echo $row['id']; ?></td>
<td><?php echo $row['title']; ?></td>
<td><?php echo $row['mobile']; ?></td>
<td><?php echo $row['content']; ?></td>
<td><?php echo date('Y-m-d H:i:s', $row['add_time']); ?></td>
<td><a onclick="delconfirm('<?php echo url('feedback/del').'?id='.$row['id']; ?>')" href="javascript:;">删除</a></td>
</tr><?php }} ?>
</tbody></table></div><!-- 表格结束 --></form><!-- 表单结束 -->

<form id="searcharc" class="navbar-form" action="{:url('index')}" method="get">
<div class="form-group"><input type="text" name="keyword" id="keyword" class="form-control required" placeholder="搜索关键词..."></div>
<button type="submit" class="btn btn-info" value="Submit">搜索一下</button></form>

<div class="backpages">{$page}</div>
{/block}